package com.mathdroid.model.buffs;

import java.util.LinkedList;

/**
 * This is a HashMap with names of buffs and a flag if the buffs are enabled.
 */
public class BuffTemplate 
extends LinkedList<GroupBuffDebuff> implements Cloneable {
	/**
	 * Generated UID.
	 */
	private static final long serialVersionUID = -6747471315455236695L;
	
	/**
	 * The name of the template.
	 */
	private String name = null;
	
	/**
	 * Creates a buff template with a name.
	 * @param n Name.
	 */
	public BuffTemplate(final String n) {
		super();
		this.name = n;
	}
	
	@Override
	public final String toString() {
		return this.name;
	}

	/**
	 * Set the name of this template.
	 * @param n Name.
	 */
	public final void setName(final String n) {
		this.name = n;
	}

}
